package org.jeecg.modules.recruit.position.service;

import org.jeecg.modules.recruit.position.entity.MmCompanyPositionItem;
import org.jeecg.modules.recruit.position.entity.MmCompanyPicture;
import org.jeecg.modules.recruit.position.entity.MmCompanyLabel;
import org.jeecg.modules.recruit.position.entity.MmCompanyPosition;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 职位信息
 * @Author: jeecg-boot
 * @Date:   2020-08-24
 * @Version: V1.0
 */
public interface IMmCompanyPositionService extends IService<MmCompanyPosition> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(MmCompanyPosition mmCompanyPosition,List<MmCompanyPositionItem> mmCompanyPositionItemList,List<MmCompanyPicture> mmCompanyPictureList,List<MmCompanyLabel> mmCompanyLabelList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(MmCompanyPosition mmCompanyPosition,List<MmCompanyPositionItem> mmCompanyPositionItemList,List<MmCompanyPicture> mmCompanyPictureList,List<MmCompanyLabel> mmCompanyLabelList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
